package antonTest;

import java.awt.Color;
import java.awt.Point;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class TestFrame
{
	
    public static void main(String[] args) {
    	Runnable doCreateAndShowGUI = new Runnable() {
            public void run() {
                createAndShowGUI();
            }
        };
        SwingUtilities.invokeLater(doCreateAndShowGUI);
	}
    
    private static void createAndShowGUI() {    
        JFrame f = new JFrame("Oval");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setSize(400, 400);
        
        f.add(new Nest());
        
        f.setVisible(true);
    }
}
